package com.pll.constant;

/**
 * @className: ConstantField
 * @author: XR_Z
 * @date: 2025/6/9 01:20
 * @Version: 1.0
 * @description: 统一常量静态内部类【统一管理，避免redis中key值冲突】
 */

public final class ConstantField {
    private ConstantField() {} // 防止实例化

    /**
     * 公共redis中的Key配置
     */
    public static final class PublicKey{
        //所有订单
        public static final String ORDERS = "orders:";
        //所有订单详情
        public static final String ORDER_DETAILS = "OrdersDetails:";
    }

    /**
     * 商家端redis中Key配置
     */
    public static final class MerchantsKey {
        //所有商品
        public static final String ALL_MERCHANDISE = "goodInfo:";
        //所有商品的ID
        public static final String ALL_MERCHANT_ID = "allGoodIds";
        //验证码值
        public static final String CAPTCHA_VALUE = "captcha_login:";
    }

    /**
     * 平台端redis中Key配置
     */
    public static final class PlatformKey {

    }
}
